//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Chris Janson & Ashland Craft','Gallatin County Fairgrounds','Bozeman, MT','Wednesday','7/16/2025','8:15 PM','7067147','Chris-Janson---Ashland-Craft-7-16-2025'],['Chris Janson','Buffalo Thunder Resort & Casino','Santa Fe, NM','Friday','7/18/2025','8:00 PM','7059058','Chris-Janson-7-18-2025'],['Gypsum Daze: Chris Janson & Mackenzie Carpenter','Lundgren Amphitheater','Gypsum, CO','Saturday','7/19/2025','6:00 PM','7161914','Gypsum-Daze--Chris-Janson---Mackenzie-Carpenter-7-19-2025'],['Chris Janson','Lock 3 Live','Akron, OH','Thursday','7/24/2025','7:00 PM','7161825','Chris-Janson-7-24-2025'],['LA-Z Acres Kuntry Jam (Time: TBD): Chris Janson','LA-Z Acres Campground','Nashport, OH','Friday','7/25/2025','12:00 PM','7199739','LA-Z-Acres-Kuntry-Jam--Time--TBD---Chris-Janson-7-25-2025'],['Mankato RibFest: Chris Janson','Vetter Stone Amphitheatre','Mankato, MN','Thursday','7/31/2025','TBD','7143341','Mankato-RibFest--Chris-Janson-7-31-2025'],['Chris Janson, Billy Gunther & The Midwest Riders','Little River Casino Resort','Manistee, MI','Saturday','8/2/2025','7:00 PM','7101086','Chris-Janson--Billy-Gunther---The-Midwest-Riders-8-2-2025'],['OC Smoke Show: Chris Young, Chris Janson, The Band Perry & Dylan Schneider','Rancho Mission Viejo Riding Park','San Juan Capistrano, CA','Saturday','8/16/2025','1:00 PM','7193530','OC-Smoke-Show--Chris-Young--Chris-Janson--The-Band-Perry---Dylan-Schneider-8-16-2025'],['Chris Janson','Canyons Village At Park City','Park City, UT','Saturday','8/23/2025','7:00 PM','7027553','Chris-Janson-8-23-2025'],['Chris Janson','Catholic Health Amphitheater At Bald Hill','Farmingville, NY','Thursday','8/28/2025','7:30 PM','7162195','Chris-Janson-8-28-2025']],'"Chris Janson"','https://www.ticketnetwork.com');